<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.advancedquery.js?v=${ver}" type="text/javascript"></script>
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" class="required-validate" onsubmit="return navTabSearch(this)">
<input type="hidden" id="advancedStatus" name="advancedStatus" value="${condition.advancedStatus!''}" />
<div class="pageHeader">
    <div class="searchBar">
        <ul class="searchContent">
            <li >
            	<label><@label key='operationTaskNum.C,colon'>工序任务单编号：</@label></label> 
            	<input readonly="readonly" type="text" name="operationTaskNum" value="${operationTask.operationTaskNum!''}"/>
            </li>
            <li >
            	<label><@label key="operationCode.C,colon">工序编号：</@label></label> 
            	<input readonly="readonly" type="text" class="textInput" name="operationCode" value="${operationTask.operationCode!''}" />
            </li>
            <li >
            	<label><@label key='operationTaskstatus.C,colon'>工序任务单状态：</@label></label> 
                <select name="statusECode" disabled="disabled">
                    <option value="" ><@label key='all.C'></@label></option>
                    <#if operationTaskStatus??>
                        <#list operationTaskStatus as ecode>
                            <option value="${ecode.eCode!''}" <#if operationTask.statusECode?? && operationTask.statusECode == ecode.eCode> selected</#if> >${ecode.eCodeText!''}</option>
                        </#list>
                    </#if>
                </select>
            </li>                
        </ul>
        <ul class="searchContent">
            <li>
            	<label><@label key='productionControlNum.C,colon'>生产管理号：</@label></label>
            	<input readonly="readonly" type="text" name="productionControlNum" value="${operationTask.productionControlNum!''}" />
            </li>
			<li>
				<label><@label key='plannedWorkUnitCode.C,colon'>计划作业单元：</@label></label> 
				<input readonly="readonly" type="text" name="plannedWorkUnitCode" value="${operationTask.plannedWorkUnitText!''}" />
			</li>			
			<li>
				<label><@label key="lastPersonnelCode.C,colon">最近报工职员：</@label></label> 
				<input readonly="readonly" type="text" name="lastPersonnelCode" value="${operationTask.lastPersonnelCode!''}" />
			</li>
		</ul>
		<ul class="searchContent">
            <li>
            	<label><@label key='productionOrderNum.C,colon'>生产订单编号：</@label></label> 
            	<input readonly="readonly" type="text" name="productionOrderNum" value="${operationTask.productionOrderNum!''}"/>
            </li>
        	<li>
        		<label><@label key='orderType.C,colon'>订单类型：</@label></label> 
                <select name="orderTypeCode" disabled="disabled">
                    <option value="" ><@label key='all.C'></@label></option>
                    <#if orderTypes??>
                        <#list orderTypes as orderType>
                            <option value="${orderType.orderTypeCode!''}" <#if operationTask.orderTypeCode?? && operationTask.orderTypeCode == orderType.orderTypeCode> selected</#if> >${orderType.orderTypeText!''}</option>
                        </#list>
                    </#if>
                </select>             
            </li>
        </ul>
        
        <ul class="searchContent">
            <li>
            	<label><@label key='plannedQuantity.C,colon'>计划数量：</@label></label> 
            	<input readonly="readonly" type="text" name="plannedQuantity" value="${operationTask.plannedQuantity!''}"/>
            </li>
        	<li>
        		<label><@label key='plannedworkHours.C,colon'>计划工时：</@label></label> 
        		<input readonly="readonly" type="text" name="plannedHours" value="${operationTask.plannedHours!''}"/>                
            </li>
        </ul>
        
        <ul class="searchContent">
            <li>
            	<label><@label key='plannedstartDateTime.C,colon'>计划开始时间：</@label></label> 
            	<input readonly="readonly" type="text" name="plannedStartDateTime" value="${(operationTask.plannedStartDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}"/>
            </li>
        	<li>
        		<label><@label key='plannedendDateTime.C,colon'>计划结束时间：</@label></label> 
        		<input readonly="readonly" type="text" name="plannedendDateTime" value="${(operationTask.plannedendDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}"/> 
        		              
            </li>
        </ul>
        
        <ul class="searchContent">
            <li>
            	<label><@label key='completedQuantity.C,colon'>完工数量：</@label></label> 
            	<input readonly="readonly" type="text" name="productionOrderNum" value="${operationTask.completedQuantity!''}"/>
            </li>
        	<li>
        		<label><@label key='actualWorkHours.C,colon'>实际工时：</@label></label> 
        		<input readonly="readonly" type="text" name="productionOrderNum" value="${operationTask.actualHours!''}"/>                
            </li>
        </ul>
        
        <ul class="searchContent">
            <li>
            	<label><@label key='actualstartDateTime.C,colon'>实际开始时间：</@label></label> 
            	<input readonly="readonly" type="text" name="actualStartDateTime" value="${(operationTask.actualStartDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}"/> 
            </li>
        	<li>
        		<label><@label key='actualendDateTime.C,colon'>实际结束时间：</@label></label> 
        		<input readonly="readonly" type="text" name="actualStartDateTime" value="${(operationTask.actualEndDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}"/> 
        	</li>
        </ul>
    </div>
</div>
</form>
<div class="createInfo" style="  height: 24px;padding: 5px 0px 5px 10px;">
    <label class="time"><@label key="createDateTime.C,colon">创建时间：</@label><#if (operationTask.createDateTime)??>${operationTask.createDateTime?string("yyyy-MM-dd HH:mm:ss")}</#if></label>
    <label class="user" style="padding: 0px 100px 0px 0px;"><@label key="createUser.C,colon">创建人：</@label><#if (operationTask.createUser)??>${operationTask.createUser}</#if></label> 
    <label class="time"><@label key="modifyDateTime.C,colon">修改时间</@label><#if (operationTask.modifyDateTime)??>${operationTask.modifyDateTime?string("yyyy-MM-dd HH:mm:ss")}</#if></label>
    <label class="user"><@label key="modifyUser.C,colon">修改人：</@label><#if (operationTask.modifyUser)??>${operationTask.modifyUser}</#if></label> 
</div>
<div class="pageContent">    
    <table class="table" width="100%" layoutH="350">
        <thead>
            <tr>
                <th width="20"><@label key="serialNumber.C">序号</@label></th>
                <th width="60" ><@label key='confirmType.C'>报工类型</@label></th>
                <th width="60" ><@label key='confirmTime.C'>报工时间</@label></th>
                <th width="60" ><@label key='startTime.C'>开始时间</@label></th>
                <th width="60" ><@label key='completedQuantity.C'>完工数量</@label></th>
                <th width="60" ><@label key='workUnit.C'>作业单元</@label></th>
                <th width="60" ><@label key='personnelCode.C'>人员编号</@label></th>
            </tr>
        </thead>
        <tbody>
        <#if page??><#if (page.data?size>0)> <#list page.data as confirm>
            <tr>
                 <td>${page.startRow + confirm_index}</td>
	             <td>${confirm.confirmTypeeCode!''}</td>
	             <td>${(confirm.confirmDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>
	           	 <td>${(confirm.startDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>            
	             <td>${confirm.completedQuantity!''}</td>
	             <td>${confirm.workUnitCode!''}</td>
	             <td>${confirm.personnelCode!''}</td>   
            </tr>
        </#list>
        <#else>
        <tr target="product_id">
                <td colspan="20" class="noData">======<@label key='noListData.C'>列表无数据</@label>=====</font></td>
        </tr>
        </#if>
        <#else>
        <tr target="product_id">
                <td colspan="20" class="noData">======<@label key='noListData.C'>列表无数据</@label>=====</font></td>
        </tr>
        </#if>
        </tbody>
    </table>
    <#include "/common/panelBar.html">
    <div class="formBar">
    <ul>
        <li>
            <div class="buttonActive"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
        </li>
    </ul>
</div>
</div>
